<style>
#newUser{
	width:300px;
}
#newUser label{
	width:100px;
	display:block;
	float:left;
	clear:both;
	padding-top:8px;
	text-align:right;
}
#newUser input[type=submit]{
	clear:both;
	float:right;
}
</style>
<form id="newUser" method="post" action="javascript:void(0)" onsubmit="addNewUser(this)" class="area">
	<h1>Novi korisnik</h1>
	<label for="radnik">Radnik:</label>
	<select name="radnik" id="radnik">
		{{%loop start radnik_id}}
		<option value="{{$radnik_id}}">{{$radnik_ime}}&nbsp;{{$radnik_prezime}}</option>
		{{%loop end}}
	</select>
	<label for="group">Grupa:</label>
	<select name="group" id="group">
		{{%loop start group_id}}
		<option value="{{$group_id}}">{{$group_name}}</option>
		{{%loop end}}
	</select>
	<label for="username">Korisničko ime:</label><input type="text" name="username" id="username" />
	<label for="pass1">Lozinka:</label><input type="password" name="pass1" id="pass1" />
	<label for="pass2">Ponovo lozinka:</label><input type="password" name="pass2" id="pass2" />
	<input type="submit" value="dodaj" />
</form>